﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyMovieSystem
{
    [Serializable]
    /// <summary>
    /// 票类
    /// </summary>
    class Ticket
    {
        /// <summary>
        /// 票编号
        /// </summary>
        public int  T_Id{ get; set; }
        /// <summary>
        /// 影厅
        /// </summary>
        public Hall T_Hall { get; set; }
        /// <summary>
        /// 票对应座位
        /// </summary>
        public Seat T_Seat  { get; set; }
        /// <summary>
        /// 影片
        /// </summary>
        public Movie T_Movie { get; set; }
       
        public Ticket()
        {

        }

        public Ticket(int id,Seat seat,Movie movie,Hall hall)
        {
            this.T_Id = id;
            this.T_Seat = seat;
            this.T_Movie = movie;
            this.T_Hall = hall;
        }
    }
}
